<template>
    <div class="pic-hot">
       <div v-for="item in picList" :key="item.id">
            <pic-card :cardObj="item"></pic-card>
        </div>
    </div>
</template>
<script>
import picCard from '../components/pic-card.vue'
export default {
    name:"PicHot",
    components:{
        picCard
    },
    data(){
        return{
            picList:[]
        }
    },
    mounted(){
        axios.get("/data/picLook_1.json")
        .then(
            res=>{
                this.picList = [...res.data.resData.list]
            }
        )
        .catch(
            err=>{
                console.log(err);
            }
        )
    }
}
</script>
<style lang="scss" scoped>

</style>